import Layout from '@/layout'

export default {
  path: '/employees',
  component: Layout,
  children: [{
    path: '',
    name: 'employees',
    component: () => import('@/views/employees/employees.vue'),
    meta: { title: '员工管理', icon: 'employees' }
  },
  {
    hidden: true,
    path: 'import',
    name: 'Employees',
    component: () => import('@/views/employees/empExcel'),
    meta: { title: '文件上传', icon: 'employees' }
  },
  {
    hidden: true,
    path: 'detail:id',
    name: 'Detail',
    component: () => import('@/views/employees/empDetail'),
    meta: { title: '员工详情', icon: 'employees' }
  }]
}
